package b2.scene.fight.skills
{
	import b2.config.EnemySkillConfig;
	import b2.scene.fight.TankSprite;
	
	import com.greensock.TweenLite;
	
	//连发技能
	public class BurstFire implements ISkill
	{
		public function BurstFire()
		{
		}

		public function discharge(src:TankSprite, skillConfig:EnemySkillConfig):void
		{
			var times:int = 4;
			TweenLite.delayedCall(0.2, fire, [src, times]);
		}
		
		private function fire(src:TankSprite, times:int):void
		{
			if (times > 0)
			{
				//src.fireBullet(0, 0, -1 , -1, -1, true);
				//TweenLite.delayedCall(0.2, fire, [src, times - 1]);
			}
			
		}
		
	}
}